package net.sangpil.applications.viewer
{
	import flash.display.DisplayObject;
	import flash.display.Sprite;

	public class PageViewer extends Sprite
	{
		private var _pagesArr:Array;
		private var _currentPage:DisplayObject;
		private var _currentPageNumber:uint;
		private var _totalPageNumber:uint;
		private var _direction:String;
		
		public function PageViewer()
		{
			super();
			trace("[net.sangpil.application] page viewer ver 0.1 start");
			this.init();
		}
		
		private function init():void
		{
			trace("test");
			_pagesArr = new Array();
		}
		
		public function addPage(page:DisplayObject):void
		{
			_pagesArr.push(page);
			_totalPageNumber = _pagesArr.length;
		}
		
		public function addPageList(pageList:Array):void
		{
			
		}
		
		/* getter */
		
		public function get pageLength():uint
		{
			return _totalPageNumber;
		}
	}
}